package com.yanjiali.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Package: com.yanjiali.vo
 * @Author: yanjiali
 * @Created: 2025/4/25 15:45
 */
@Data
@ApiModel("对应前端评论区需要用户的VO对象")
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("用户等级")
    private Integer level;

    @ApiModelProperty("用户主页链接地址（预留）")
    private String homeLink;

    @ApiModelProperty("用户点赞过的评论数组")
    private List<Integer> likeIds;
}
